package com.usian.common.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/*
 * 作者：m鹏h
 * 时间；2023/8/7 15:49
 * 描述：
 **/
@Data
@ToString
@TableName(value = "que")
public class Que {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String queName;

    private String queMark;

    private Integer typeId;

    private String labId;

    private Integer createPeo;

    private String sjId;

    private List<Answer> answerList;

    private Integer checked;

    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "Saia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;





}
